package com.project.bean;

import java.util.List;

public class RoomBean {
    private  int roomId;//房间id
    private  String address; //房间地址
    private  int  canlnPeople; //房间可容纳人数
    private  int livePeople; //房间已住人数
    private  String status="正常";//房间状态
    private  String type;//房间类型
    /**学生集合 */
    private List<StudentBean> studentList;

    public RoomBean() {
    }

    public RoomBean(String address, int canlnPeople, String status, String type) {
        this.address = address;
        this.canlnPeople = canlnPeople;
        this.livePeople = livePeople;
        this.status = status;
        this.type = type;
        this.studentList = studentList;
    }

    public RoomBean(String r_address) {
    }

    @Override
    public String toString() {
        return this.address;
    }

    public int getRoomId() {
        return roomId;
    }

    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getCanlnPeople() {
        return canlnPeople;
    }

    public void setCanlnPeople(int canlnPeople) {
        this.canlnPeople = canlnPeople;
    }

    public int getLivePeople() {
        return livePeople;
    }

    public void setLivePeople(int livePeople) {
        this.livePeople = livePeople;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<StudentBean> getStudentList() {
        return studentList;
    }

    public void setStudentList(List<StudentBean> studentList) {
        this.studentList = studentList;
    }
}
